package net.huashitong.ssydt.money.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import net.huashitong.ssydt.money.entity.SsMoneyGold;

import java.io.Serializable;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.14
 */
@ApiModel(value = "GoldsMyVo", description = "我的金币")
public class GoldsMyVo implements Serializable {

    @ApiModelProperty(value = "系统id",dataType = "Long")
    private Long id;//系统id

    @ApiModelProperty(value = "金币数",dataType = "Long")
    private Long goldNumber;//金币数

    public GoldsMyVo() {
    }

    public GoldsMyVo(SsMoneyGold ssMoneyGold) {
        super();
        this.setId(ssMoneyGold.getId());
        this.setGoldNumber(ssMoneyGold.getGoldNumber());
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoldNumber() {
        return goldNumber;
    }

    public void setGoldNumber(Long goldNumber) {
        this.goldNumber = goldNumber;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("GoldsMyVo{");
        sb.append("id=").append(id);
        sb.append(", goldNumber=").append(goldNumber);
        sb.append('}');
        return sb.toString();
    }
}
